package com.caiheng.api.service.estate;

import com.caiheng.api.entity.estate.EstateUser;
import com.caiheng.api.entity.estate.PropertyUser;
import com.caiheng.api.service.base.BaseService;

import java.util.List;
import java.util.Map;

/**
 * 商家的管理用户wxuser的用户Service接口
 *
 * @author ruoyi
 * @date 2022-08-20
 */
public interface PropertyUserService extends BaseService<PropertyUser> {

    PropertyUser getPropertyUser (int userId);
    PropertyUser getPropertyByUser (int userId, int propertyId);
    PropertyUser getPropertyManagerByUser(int propertyId,int isManager);
    PropertyUser getCheckHolidayManager(int propertyId,int userId);

    List<PropertyUser> selectPropertyUserList(Map<String,Object> map);
}
